package com.yexuejc.vertx.todolist;

import com.yexuejc.vertx.todolist.service.ServiceHandler;
import com.yexuejc.vertx.todolist.verticle.ApplicationVerticle;
import io.vertx.core.Vertx;

/**
 * @PackageName: com.yexuejc.vertx.todolist
 * @Description:
 * @author: maxf
 * @date: 2018/4/13 11:36
 */
public class Appliccation {
    public static void main(String[] args) {
        Vertx vertx = Vertx.vertx();
        // 部署服务器模块
        vertx.deployVerticle(new ApplicationVerticle());
        vertx.deployVerticle(new ServiceHandler());
    }
}
